home *** CD-ROM | disk | FTP | other *** search
- /* DoLink - Link an Oberon program */
-
- options results
-
- if ~show('L','rexxsupport.library') then
- call addlib('rexxsupport.library',0,-30)
- if ~show('L','RexxDosSupport.library') then
- call addlib('RexxDosSupport.library',0,-30)
-
- parse arg module screenname
-
- link_args = GetVar("LINK_ARGS")
-
- call close 'STDERR'
- call open 'STDERR','NIL:','W'
- call close 'STDIN'
- call close 'STDOUT'
- call open 'STDOUT','CON:10/25/540/165/Linking.../SCREEN'||screenname,'RW'
- call pragma '*','STDOUT'
- call pragma 'Stack', 10000
-
- address command 'OBERON-A:C/BLink >* <* WITH Code/'||module||'.with' link_args
-